/**
 *  *  This file is part of Spidex.
 *  
 *  Spidex is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *  
 *  Spidex is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *  
 *  You should have received a copy of the GNU General Public License
 *  along with Spidex.  If not, see <http://www.gnu.org/licenses/>.
 */
package spidex.posterSearcher;

import java.util.List;
import javax.swing.ImageIcon;
import spidex.FilmInfoInterface;

public interface PosterSearcher {
    /**
     * Function creates query to film database for posters and infos about films
     * 
     * @param name string describes film which should be find
     * @return List of founded films
     */
    public List<FilmInfoInterface> findFilm(String name);
    
    /**
     * Function for getting other details about specific movie
     * @param info inicial film info
     */
    public void findInformation(FilmInfoInterface info);
    
    /**
     * Function finds and returns (also store in info) poster of film
     * @param info information about specific film
     * @return poster of this film
     */
    public ImageIcon getImage(FilmInfoInterface info);
}
